package com.crud.service;

import com.crud.entity.Dept;

import com.crud.entity.Dept;

import java.util.List;



/**
 * @author hyh
 * @date 2023/06/28 18:44:08
 */
public interface DeptService {
    int addDept(Dept dept);

    int deleteDept(Integer id);

    Dept selectByOne(Integer id);
    List<Dept> findSame(Integer pageNum,Integer pageSize);

    int update(Dept dept);
}
